<!--<div class="form-submit">
    <legend>Fomulaire d'inscription</legend>
<?php //echo $this->formCreate ?>
    <p><a href="<?php //echo $this->url(array('controller' => 'Index', 'action' => 'login', 'module' => "Admin"), 'default', true)     ?>">Se connecter</a></p>
</div>-->

<div class="form">
<form id="formCreate" class="create" enctype="application/x-www-form-urlencoded"  method="post" action="">
    <fieldset>
        <legend>Fomulaire d'inscription</legend>

        <div class="controls controls-row">
            <label>Civilité</label>
            <input type="text" id="nom" name="nom" value="<?php echo $this->value['nom']?>" class="input" placeholder="Nom" required=true>
            <input type="text" id="prenom" name="prenom" value="<?php echo $this->value['prenom']?>" class="input" placeholder="Prenom" required=true>
        </div>

        <label>Email</label>
        <input type="email" id="email" name="email" value="<?php echo $this->value['email']?>" class="input" placeholder="Email" required=true>
        <span class="red"><?php echo isset($this->errors['email'][0])? $this->errors['email'][0] : $this->emailExist; ?></span>
        
        <label>Mot de passe</label>
        <input type="password" id="password" name="password" class="input" placeholder="Mot de passe" required=true>
        <span class="red"><?php echo ($this->errors['password'][0]) ?></span>

        <label>Date de naissance</label>
        <input type="date" id="dob" name="dob" value="<?php echo $this->value['dob']?>" class="input" placeholder="DOB">
        <label>Entreprise</label>
        <input type="text" id="entreprise" name="entreprise" value="<?php echo $this->value['entreprise']?>" class="input" placeholder="Entreprise">

        <label>Adresse</label>
        <div class="controls controls-row">
            <input type="text" id="adresse" name="adresse" value="<?php echo $this->value['adresse']?>" class="input" placeholder="Adresse">
            <input type="text" id="cp" name="cp" value="<?php echo $this->value['cp']?>" class="input-small" placeholder="CP">
            <input type="text" id="ville" name="ville" value="<?php echo $this->value['ville']?>" class="input" placeholder="Ville">
        </div>
        <div class="controls controls-row">
            <label>Téléphone</label>
            <input type="text" id="tel" name="tel" value="<?php echo $this->value['tel']?>" class="input" placeholder="Tél">
<!--            <label>Mobile</label>-->
            <input type="text" id="mobile" name="mobile" value="<?php echo $this->value['mobile']?>" class="input" placeholder="Mobile">
<!--            <label>Fax</label>-->
            <input type="text" id="fax" name="fax" value="<?php echo $this->value['fax']?>" class="input" placeholder="Fax">
        </div>

<!--        <label class="checkbox">
            <input type="checkbox"> Remember me
        </label>-->
        <button type="submit" class="btn btn-primary">Enregistrer</button>
        <button type="button" class="btn">Cancel</button>
    </fieldset>
</form>
</div>